package com.chinasofti.manager.domain;

public class Demo03 {
    public static void main(String[] args) {
        String a="a"+"b"+"c";
        String a1="abc";
        if (a==a1){
            System.out.println("ok");
        }else {
            System.out.println("no");
        }
        for (int i=0;i<a.length();i++){
            System.out.println(a.charAt(i));
        }
        for (int i=0;i<a1.length();i++){
            System.out.println(a.charAt(i));
        }
    }
}
